Home  |  About  | Last |  Submit  |  Contact
AllQuests.com

Previous Question:  To all whiners  Development (Feisty Fawn) (CLOSED)Next Question:  [edubuntu] Restrict User Access to Programs Administration  Absolute Beginner Talk
Question [ubuntu] SUDO password timeout ( Ubuntu Forums Absolute Beginner Talk )
Updated: 2008-11-23 01:50:10 (2)
[ubuntu] SUDO password timeout

Is there a way to increase the timeout period for the sudo password. I find I am trying to do some things in Ubuntu and I enter the sudo password and several minutes later I have to answer it again.


Answers: [ubuntu] SUDO password timeout ( Ubuntu Forums Absolute Beginner Talk )
[ubuntu] SUDO password timeout

Quote:
Originally Posted by alienexplorers
Is there a way to increase the timeout period for the sudo password. I find I am trying to do some things in Ubuntu and I enter the sudo password and several minutes later I have to answer it again.
On your terminal:

Code:
sudo visudo
then look for the "Defaults" text inside the configuration file, if you can't find one, insert the line of texts below to you end part of your sudoers file.

Quote:
Defaults passwd_timeout=10
Giving it a 10 minutes delay.

Save file.

PS: If "Defaults" exist, just add passwd_timeout=10 separated by a comma from the latter.

i.e:

Quote:
Defaults syslog=auth,passwd_timeout=10

iaculallad

[ubuntu] SUDO password timeout

Quote:
Originally Posted by alienexplorers
Is there a way to increase the timeout period for the sudo password. I find I am trying to do some things in Ubuntu and I enter the sudo password and several minutes later I have to answer it again.
Either you get a root shell which is not officially recommended or you tweak the sudoers file and change the passwd_timeout variable.

Code:
passwd_timeout
    Number of minutes before the sudo password prompt times out. The default is 5, set this to 0 for no password timeout.
More.

bapoumba

Previous Question:  To all whiners  Ubuntu Forums  Development (Feisty Fawn) (CLOSED)Next Question:  [edubuntu] Restrict User Access to Programs Administration  Ubuntu Forums  Absolute Beginner Talk

- Source: [ubuntu] SUDO password timeout Ubuntu Forums Absolute Beginner Talk
- Previous Question: To all whiners Ubuntu Forums Development (Feisty Fawn) (CLOSED)
- Next Question: [edubuntu] Restrict User Access to Programs Administration Ubuntu Forums Absolute Beginner Talk





AllQuests.com


Best dedicated servers   Top dedicated servers   Cheap dedicated servers   Linux dedicated servers   Windows dedicated servers   Unmetered dedicated servers